/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.appspot.trick.it.admin.model;

import com.google.gson.annotations.SerializedName;
import java.util.List;

/**
 *
 * @author takahara
 */
public class ArticleModel {
    
    /** キー */
    @SerializedName("modelUniqueKey")
    private String key;

    /** タイトル */
    private String title;

    /** 表示順 */
    private int index = 0;

    /** コンテンツ */
    @SerializedName("contentString")
    private String content;

    /** 公開フラグ */
    private Boolean publicFlg = false;

    /** キーワードリスト */
    private List<String> keyWordList;

    /** Meta Description */
    private String description;

    /** 親のキーMAP(カンマ区切り) */
    private String parentKey;

    /** Google+ キー */
    private String googlePlusKey;

    /** Googleドライブ上のディレクトリキー */
    private String driveDriKey;

    /** カテゴリフラグ */
    private boolean category;
    
    /** ロゴ画像キー */
    private String logoImageKey;
    
    /** 記事URL */
    private String articleUrl;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isPublicFlg() {
        return publicFlg;
    }

    public void setPublicFlg(Boolean publicFlg) {
        this.publicFlg = publicFlg;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getGooglePlusKey() {
        return googlePlusKey;
    }

    public void setGooglePlusKey(String googlePlusKey) {
        this.googlePlusKey = googlePlusKey;
    }

    public String getDriveDriKey() {
        return driveDriKey;
    }

    public void setDriveDriKey(String driveDriKey) {
        this.driveDriKey = driveDriKey;
    }

    public boolean isCategory() {
        return category;
    }

    public void setCategory(boolean category) {
        this.category = category;
    }

    public String getParentKey() {
        return parentKey;
    }

    public void setParentKey(String parentKey) {
        this.parentKey = parentKey;
    }

    public List<String> getKeyWordList() {
        return keyWordList;
    }

    public void setKeyWordList(List<String> keyWordList) {
        this.keyWordList = keyWordList;
    }
    
    public void setLogoImageKey(String logoImageKey) {
        this.logoImageKey = logoImageKey;
    }
    
    public String getLogoImageKey() {
        return this.logoImageKey;
    }
    
    public void setArticleUrl(String articleUrl) {
        this.articleUrl = articleUrl;
    }
    
    public String getArticleUrl() {
        return this.articleUrl;
    }
}
